package Server.DataBase;

import java.util.Date;

import Client.logic.MyFile;

public class SubmittedTask extends Task{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int ontime;
	
	private Student student;
	/**
	 * SubmittedTask
	 * @param idTask
	 * @param lesson
	 * @param student
	 * @param date
	 * @param file
	 * @param fileName
	 * @param ontime
	 */
	public SubmittedTask(int idTask, Lesson lesson, Student student, Date date, MyFile file,
			String fileName, int ontime) {
		super(idTask, lesson, date, file, fileName);
		this.ontime = ontime;
		this.student = student;
	}
/**
 * 
 * @return student
 */
	public Student getStudent() {
		return student;
	}
/**
 * 
 * @return ontime
 */
	public int getOntime() {
		return ontime;
	}

	
	
	

}
